package com.project.pojo;

public class Build {
    private long buildId;
    private String buildName;
    private long buildStatus;
    private String buildNote;

    @Override
    public String toString() {
        return "Build{" +
                "buildId=" + buildId +
                ", buildName='" + buildName + '\'' +
                ", buildStatus=" + buildStatus +
                ", buildNote='" + buildNote + '\'' +
                '}';
    }

    public long getBuildId() {
        return buildId;
    }

    public void setBuildId(int buildId) {
        this.buildId = buildId;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public long getBuildStatus() {
        return buildStatus;
    }

    public String getBuildStatusStr() {
        if (buildStatus == 1) {
            return "启用";
        } else {
            return "禁用";
        }
    }

    public void setBuildStatus(int buildStatus) {
        this.buildStatus = buildStatus;
    }

    public String getBuildNote() {
        return buildNote;
    }

    public void setBuildNote(String buildNote) {
        this.buildNote = buildNote;
    }
}
